from DbUtil import *
from PersonManagerService import *

if __name__ == '__main__':

    dbutil = DbUtil()
    dbutil.createTable()

    # addPerson('zhangsan',24,'mailfendou@163.com')
    # addPerson('lisi',25,'mailfendou@163.com')
    # addPerson('wangwu',26,'mailfendou@163.com')
    # addPerson('zhaoliu',27,'mailfendou@163.com')

    # 查询用户
    # showPersons()
    # showUsers()

    # deletePerson(5)
    # showPersons()

    personManagerService = PersonManagerService()
    personManagerService.show_persons()